package com.isoft.illustrationsdraw.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import lombok.Data;

@Data
@TableName("follows")
public class Follow {
    private Long id;
    private Long followerId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long followedId;
    private LocalDateTime createdAt;
    public Follow(){}
}
